package test.scheduler;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class RunMeJobB extends QuartzJobBean {

	@SuppressWarnings("unused")
	private static Logger _log = LoggerFactory.getLogger(RunMeJobB.class);
	@SuppressWarnings("unused")
    	private static final String _LogPrefixStr = "job Log> ";
	
	private RunMeTask runMeTask;

	public void setRunMeTask(RunMeTask runMeTask) {
		this.runMeTask = runMeTask;
	}

	protected void executeInternal(JobExecutionContext context)
			throws JobExecutionException {
		runMeTask.printMe("TYPE2-JOB");
	}
}